package net.tbao.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import net.tbao.common.utils.PageUtils;
import net.tbao.product.entity.AttrGroupEntity;
import net.tbao.product.vo.AttrGroupWithAttrsVo;
import net.tbao.product.vo.SkuItemVo;
import net.tbao.product.vo.SpuItemGroupAttr;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author ZhangWang
 * @email 2248656478@qq.com
 * @date 2021-01-27 13:11:03
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);


    PageUtils queryPage(Map<String, Object> params, Long catelogId);


    List<AttrGroupWithAttrsVo> getAttrGroupWithAttrsByCatelogId(Long catelogId);

    List<SpuItemGroupAttr> getAttrGroupWithAttrsBySpuId(Long spuId, Long catalogId);
}

